#!/bin/sh
cat ~/bin/updater.txt
cat << EOF 

THis script will remove the current ports, and then fetch it again. 
This is to prevent the rather large dir .svn from being created.

EOF
echo -n "Removing ports:"
if [ -d /usr/ports ]; then 
rm -rf /usr/ports/*
echo " done"
fi
echo -n "Fetching new ports:"
if [ -x /usr/local/bin/svn ] ; then 
svn export --force http://svn.freebsd.org/ports/head /usr/ports > /dev/null 2>&1
echo " done"
echo ""
fi
